package com.learnosity.extendotext
{
	public class RuleSet
	{
		private var _selector:String = "";
		public var rules:Vector.<Rule>;
		public var s1:int = 0; //id specificity
		public var s2:int = 0; //Class specificity
		public var s3:int = 0; //Element specificity
		public var s4:int = 0; //Pseudo specificity
		
		public function RuleSet()
		{
			rules = new Vector.<Rule>;
		}
	
		public function get selector():String{
			return this._selector;
		}	
		public function set selector(value:String):void{
			this._selector = value;
			//TODO: set specificity bases on selector
			
			//count # id
			//Count . class
			//Count elements
			//Count :pseudo
		
		}

		

	}
}